package com.newcoin.chat.service;

import com.newcoin.chat.beans.vo.ResultVo;

public interface CircleOfFriendsService {

    /**
     * 发朋友圈
     *
     * @param userId
     * @param content
     * @param file
     * @return
     * @throws Exception
     */
    ResultVo<String> sendCircleOfFriend(Long userId, String type, Integer state, Integer whoCanSee, String content, String file, String seeOrNotSeeUserId) throws Exception;

    /**
     * 删除朋友圈
     *
     * @param userId
     * @param circleFriendsId
     * @return
     * @throws Exception
     */
    ResultVo deleteCircleOfFriend(Long userId, Long circleFriendsId) throws Exception;


    /**
     * 点赞
     *
     * @param likeUserId
     * @param circleFriendsId
     * @return
     * @throws Exception
     */
    ResultVo circleOfFriendLike(Long likeUserId, Long circleFriendsId) throws Exception;

    /**
     * 评论
     * @param commentUserId
     * @param circleFriendsId
     * @param content
     * @return
     * @throws Exception
     */
    ResultVo circleOfFriendComment(Long commentUserId, Long circleFriendsId, String content) throws Exception;
}
